package com.agricultural.equipment;

// 拖拉机类
public class Tractor extends AgriculturalEquipment {
    
    // 构造函数
    public Tractor(String id) {
        super(id, "拖拉机");
    }
    
    // 重写执行作业方法
    @Override
    public void executeWork() {

        System.out.println("[" + type + "-" + id + "] 正在进行耕地作业...");
    }
}    